package Demo.demo24;

public class Student extends Person{
    public String type;

    public Student() {
        this.type = "前端";
    }

    public Student(int n) {
        super(n);
    }

    public void show(){
        System.out.println(super.type);
        System.out.println(this.type);
        super.show();
        System.out.println("调用了shou方法");
    }
}